package org.leiyuee.web;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_user")
public class UserEntity {
    private Integer id;
    private String username;
    private String password;
    private int age;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    public UserEntity(String username, String password, Integer age, LocalDateTime createTime, LocalDateTime updateTime) {
        this.username = username;
        this.password = password;
        this.age = age;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

}
